package org.distribute.meal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@CrossOrigin//允许跨越访问
@EnableTransactionManagement
@ComponentScan(value = {"org.distribute.meal"})
@MapperScan(basePackages = "org.distribute.meal.mapper")
public class MealApplication {
	public static void main(String[] args) {
		SpringApplication.run(MealApplication.class, args);
	}
}
